<?php namespace Admin\Controller;

use Hdphp\Controller\Controller;

class LoginController extends Controller {

	//动作
	public function login() {
		if (IS_POST) {
			$res = api('Admin/Api/User/login');
			$this->ajax($res);
		} else {
			
			View::make();
		}
	}

}
